package com.slfx.data.permission.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.slfx.data.permission.entity.SystemDept;

import java.util.List;

/**
 * @Author: slfx
 * @Date: 2022-12-31
 * @Description:
 **/
public interface SystemDeptService extends IService<SystemDept> {

    /**
     * 根据父部门id获取到所有的子部门
     * @param parentId
     * @return
     */
    List<SystemDept> getChildrenByParentId(Long parentId);
}
